#ifndef SETTINGDIALOG_H
#define SETTINGDIALOG_H

#include <QWidget>
#include <DMainWindow>
#include <DTitlebar>
#include <DListWidget>
#include <QStackedWidget>
#include <DFrame> //构建设置界面
#include <src/settings/basic.h>
#include <src/settings/appearance.h>
DWIDGET_USE_NAMESPACE
class SettingDialog : public DMainWindow
{
    Q_OBJECT
public:
    explicit SettingDialog(QWidget *parent = nullptr);
    ~SettingDialog();
    QWidget *w;
    DListWidget *titleList;
    QStackedWidget *stackedWidget;
    AppearanceSettings* appearanceSettings;
    void Init();
signals:
    void EffectChange(bool open,quint8 value);
public slots:
};

#endif // SETTINGDIALOG_H
